package com.xpfirst;

import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;

public class ActivityManage {
	public static Handler h=null;
	public static void sendMsg(int what,String key,String value){
	      Message msg = new Message();
	      msg.what = what;
        Bundle bundle = new Bundle();   
        bundle.putString(key,value);
        msg.setData(bundle);
        h.sendMessage(msg);
	}
}
